package One;

public class Sub extends Base{

    public int z;

    public void calculate(){
        System.out.println(this.x * this.y * this.z);
    }

    public Sub(int x, int y, int z) {
        super(x, y);
        this.z = z;
    }

}
